package cn.jobstart.modelDesc;

import lombok.Data;
import cn.jobstart.model.CompanyJob;


import cn.jobstart.enums.CompanyJobShowFlagEnum;
import cn.jobstart.enums.CompanyJobDelFlagEnum;
import cn.jobstart.enums.CompanyJobSalaryFlagEnum;
import cn.jobstart.enums.CompanyJobEducationFlagEnum;
import cn.jobstart.enums.CompanyJobWorkExperienceFlagEnum;
import cn.jobstart.enums.CompanyJobNatureEnum;

/**
*    @author sunke
*    @Date 2023-09-22 22:03:51
*    @description CompanyJobDesc      企业职位
*/
@Data
public class CompanyJobDesc extends CompanyJob {


    private String showFlagDesc;
    private String delFlagDesc;
    private String salaryFlagDesc;
    private String educationFlagDesc;
    private String workExperienceFlagDesc;
    private String natureDesc;

    public String getShowFlagDesc() {
        showFlagDesc=CompanyJobShowFlagEnum.getDescByType(getShowFlag());
        return showFlagDesc;
    }
    public String getDelFlagDesc() {
        delFlagDesc=CompanyJobDelFlagEnum.getDescByType(getDelFlag());
        return delFlagDesc;
    }
    public String getSalaryFlagDesc() {
        salaryFlagDesc=CompanyJobSalaryFlagEnum.getDescByType(getSalaryFlag());
        return salaryFlagDesc;
    }
    public String getEducationFlagDesc() {
        educationFlagDesc=CompanyJobEducationFlagEnum.getDescByType(getEducationFlag());
        return educationFlagDesc;
    }
    public String getWorkExperienceFlagDesc() {
        workExperienceFlagDesc=CompanyJobWorkExperienceFlagEnum.getDescByType(getWorkExperienceFlag());
        return workExperienceFlagDesc;
    }
    public String getNatureDesc() {
        natureDesc=CompanyJobNatureEnum.getDescByType(getNature());
        return natureDesc;
    }
}

